body {
    margin: 0;
    background: #333;
}

#title {
    position: absolute;
    width: 40%;
    height: 10%;

    display: flex;
    align-items: center;
    top: 0;
    left: 30%;
    /* background: #666666; */
    color: white;
    font-size: 40px;
    justify-content: center;
}

#searchTitle {
    position: absolute;
    width: 40%;
    height: 10%;

    display: flex;
    align-items: center;
    top: 0;
    left: 30%;
    /* background: #666666; */
    color: white;
    font-size: 40px;
    justify-content: center;
}
#content {
    position: absolute;
    width:80%;
    top:15%;
    right:10%;
    height:80%;
    color: white;
}
#gotopaper {
    position: absolute;
    width:10%;
    top:5%;
    right:15%;
    height:10%;
    color: white;
}
#gotoPicture {
    position: absolute;
    width:10%;
    top:5%;
    right:15%;
    height:10%;
    color: white;
}

#buttontopaper {
    border:2px solid #c5464a;
    border-radius:20px;
    height:45px;
    top:5%;
    right:5%;
    width:30%;
    color: white;
    background:#50000000
}

#buttonPicture{
    border:2px solid #c5464a;
    border-radius:20px;
    height:40px;
    top:5%;
    right:45%;
    width:30%;
    color: white;
    background:#50000000
}
#c2 {
    position: absolute;
    width: 50%;
    height: 75%;
    top: 15%;
    left: 5%;
    background: #888888;
}

.high_risk {
    color: red;
}

.middle_risk {
    color: yellow;
}

#risk_wrapper {
    margin-top: 2.5%;
    overflow: hidden;
    height: 80%;
    text-align: center;
}

#r1 {
    position: absolute;
    width: 30%;
    height: 20%;
    top: 12%;
    right: 8%;
    background: #50000000;
}

#r2 {
    position: absolute;
    width: 45%;
    height: 65%;
    top: 30%;
    right: 5%;
    background: #777;
}
div.search {

    padding:10px 0;

}

form {

    position:relative;

    width:300px;

    margin:0 auto;

}

input,button {

    border:none;

    outline:none;

}

input {

    width:80%;

    height:42px;

    padding-left:13px;

    color:white;

}

button {

    height:48px;

    width:55px;

    cursor:pointer;

    position:absolute;

}

.bar input {

    border:2px solid #c5464a;

    border-radius:5px;

    background:transparent;

    top:0;

    right:0;

}

.bar button {

    background:#c5464a;

    border-radius:0 5px 5px 0;

    width:60px;

    top:0;

    right:0;

}

.bar button:before {

    content:"搜索";

    font-size:13px;

    color:#F9F0DA;

}
/*
此处是设置自动匹配横屏，以适应手机显示 容器使用下面定义的 id: gyroContain
*/
@media screen and (orientation: portrait) {
    html {
        width: 100vmin;
        height: 100vmax;
        /*高度比宽度大*/
    }

    body {
        width: 100vmin;
        height: 100vmax;
    }

    #gyroContain {
        width: 100vmax;
        height: 100vmin;
        transform-origin: top left;
        transform: rotate(90deg) translate(0, -100vmin);
    }
}

@media screen and (orientation: landscape) {
    html {
        width: 100vmax;
        height: 100vmin;
    }

    body {
        width: 100vmax;
        height: 100vmin;
    }

    #gyroContain {
        width: 100vmax;
        height: 100vmin;
    }
}